feat(r-verify): re-implement verify_audit_hash.R as dependency-free Base-R utility - #787
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
equipose | 80b8720 | Commit Preview URL Branch Preview URL |
Aug 13 2026, 03:09 PM |
|
816ffa5 to
80b8720
Compare
|
Hello @fderuiter, I have successfully assessed, synchronized, rebased, and pushed the updated feature branch. Here is a brief summary of the completed steps and changes:
The PR is now fully up to date and in a clean mergeable state. Please let me know if there are any other changes you'd like! |
|
🎉 This PR is included in version 1.51.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Re-implement
scripts/verify_audit_hash.Rin Dependency-Free Base-RDescription
This pull request transitions
scripts/verify_audit_hash.Rfrom relying on third-party libraries (jsonliteanddigest) and dynamically downloading them at runtime to a fully native, zero-dependency, pure Base-R utility. This successfully ensures complete compatibility with offline clinical biostatistician research setups and avoids CI timeouts and network socket calls.Technical Achievements
gregexpr+ regex pattern) and recursive descent parser (parse_json()) in native R. It maintains explicit data structure mapping and serializes logically typed booleans astrueorfalserather than numeric floats.to_json()) that accurately reproduces the Python and TypeScript serialization.writeBin(ensuring byte-perfect output) and piping directly into host OS native cryptographic utilities (sha256sum,shasum,opensslfor Linux/macOS andpowershell/certutilfor Windows)..Rlibspollution.0on successful verification and1on failure.All code and linters pass perfectly.